package com.bishe.serivce.Impl;

import com.bishe.dao.MessageDao;
import com.bishe.pojo.Message;
import com.bishe.serivce.IMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 消息接口实现
 * @date 2022/03/02 40:11:43
 */
@Service
public class MessageServiceImpl implements IMessageService {
    @Autowired
    private MessageDao messageDao;


    @Override
    public void deleteById(String id) {
        messageDao.deleteById(id);
    }

    @Override
    public void updateById(Message message) {
        messageDao.updateById(message);
    }

    @Override
    public void save(Message message) {
        messageDao.save(message);
    }
}